package cn.wxManage.goodsManage.dao;

import cn.common.goods.dao.BaseGoodsCollectMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by Zhang on 2019/1/25.
 */
@Mapper
public interface GoodsCollectMapper extends BaseGoodsCollectMapper{
    void deleteUserCollect(@Param("userId") Integer userId,
                           @Param("goodsId") Integer goodsId);

    boolean checkIsCllect(@Param("userId") Integer userId,
                          @Param("goodsId") Integer goodsId);
}
